#include "tools_func.h"

int main() {
    printf("Hello, world!\n");
    char *file_path = "/home/lilei/code/tcpa_monitor/build/1/2/tcpa_cfg.json";
    FILE *fp = open_file_with_create_dir(file_path, "w+");
    if (fp == NULL) {
        printf("open file failed!\n");
        return -1;
    }
    fclose(fp);
    return 0;
}